﻿#set($id = $product.Id)
#set($uri = $product.Uri)
#set($escapedName = $product.HtmlEscapedName)
#set($evaluationRate = $product.EvaluationRate)
#set($directBuy = $product.BottomBuyAsynchronous)
#set($productQty = $product.AmountInCart)
<div class="vitrine">
$directBuy
$productQty
    <div class="wrapper">
        <div class="check">
            <img alt="" title="" src="/Control/ArquivoExibir.aspx?NomeArquivo=check.png" />
        </div>
        <div class="add">
										<img title="Adicionar produto ao carrinho" src="/Control/ArquivoExibir.aspx?NomeArquivo=img_add_icon.png" alt="Add Item" />
									</div>
        <div class="quick-view">
            $product.QuickView
        </div>
#if ($product.IsInStock)
<div class="photo">
#else
<div class="photo" style="opacity:0.5;filter:alpha(opacity=50)">
#end
										<a  href="$uri" title="$product.Name">
											$product.GetImageTag(30)
										</a>
									</div>
<h3><a href="$uri" title="$product.Name">$product.Name</a></h3>
<p class="preco">
#if ($product.IsInStock)
#if ( $product.ListPrice > $product.BestPrice && $product.BestPrice > 0 )
<em class="valor-de">Por: <strong>$product.BestPrice</strong></em>
<!--<em class="valor-por">Por: <strong>$product.BestPrice</strong></em>//-->
#else
<em class="valor-por">Por: <strong>$product.ListPrice</strong></em>
<br />
#end<em class="valor-dividido">
#if ($product.NumbersOfInstallment > 1)
	       <strong> ${product.NumbersOfInstallment}x</strong> de <strong>$product.InstallmentValue</strong>
	    #else
	        à vista
	    #end
</em>
#else
<em class="valor-por">Indispon&iacute;vel</em>
#end
</p>
#if ($product.IsInStock)
<p class="desc">$product.DiscountHightLight</p>
#end
<p class="category">$product.BrandLink</p>
</div>
</div>